@extends('default.mobile.layouts.indexPublic')
@section('title','企业重置密码')
{{--首页css--}}
@section('headcss')
    @parent
    <link rel="stylesheet" href="{{asset('/default/css/mobile/index/register_login.css')}}">
    <link rel="stylesheet" href="{{asset('/default/css/mobile/index/password_find.css')}}">

    @endsection
    {{--头部标签--}}
    @section('tag','企业重置密码')

    {{--主体内容--}}
    @section('content')
            <!-- E 头部 -->
    <div class="main">
        {{--普通登录--}}
        @if(!empty($companyPasswordResets->uid))
            <div class="register_login oLogin">
                <form action="{{url('mobile/company/find_password3')}}" onsubmit="return checkPassword('#passwordForm')" method="post" id="passwordForm"  name="passwordForm" >
                    {{csrf_field()}}
                    <input name="token" value="{{$token or ''}}" type="hidden">
                    <ul>
                        <li><i class="icon_rl07"></i><input type="password"  name="reset" id="reset" placeholder="请输入新密码" autocomplete="off"></li>
                        <li><i class="icon_rl07"></i><input name="reset_password" id="reset_password" type="password"  placeholder="请再次输入新密码"  autocomplete="off"></li>
                    </ul>
                    <div class="sub" style="margin-top: .4rem"><input type="submit" value="重置密码"></div>
                </form>
            </div>
        @else
            <div class="tipInfo">
                <p class="importantTip">链接已失效!</p>
                <p class="nav"><a href="{{url('mobile/company/find_password')}}">重新找回密码</a></p>
            </div>
        @endif
    </div>
    {{--尾部--}}
    @include('default.mobile.layouts.footer')
@endsection

@section('footerjs')
    @parent
    <script type="text/javascript" src="{{asset('/default/js/mobile/company/find_password3.js')}}"></script>
@endsection